Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
struct Microsoft.​AspNetCore.​Http.​Features.​FeatureReferences<​TCache>
Assembly: Microsoft.Extensions.Features
A reference to a collection of features.
Fields and Constants
public
TCache
Cache
This API is part of ASP.NET Core's infrastructure and should not be referenced by application code.
Properties
public
IFeatureCollection
Collection
Gets the <see cref="T:Microsoft.AspNetCore.Http.Features.IFeatureCollection" /> .
public
int
Revision
Gets the revision number.
Methods
public
void
Initalize​(IFeatureCollection collection)
Initializes the <see cref="T:Microsoft.AspNetCore.Http.Features.FeatureReferences`1" /> .
collection
The <see cref="T:Microsoft.AspNetCore.Http.Features.IFeatureCollection" /> to initialize with.
public
void
Initalize​(IFeatureCollection collection,
int revision)
Initializes the <see cref="T:Microsoft.AspNetCore.Http.Features.FeatureReferences`1" /> .
collection
The <see cref="T:Microsoft.AspNetCore.Http.Features.IFeatureCollection" /> to initialize with.
revision
The version of the <see cref="T:Microsoft.AspNetCore.Http.Features.IFeatureCollection" /> .
public
TFeature
Fetch​(TFeature& cached,
TState state,
System.​Func<​TState, TFeature> factory)
public
TFeature
Fetch​(TFeature& cached,
System.​Func<​IFeatureCollection, TFeature> factory)
protected
void
Finalize​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object